[gd_scene load_steps=36 format=1]

[ext_resource path="res://images/particles/thrust01.png" type="Texture" id=1]
[ext_resource path="res://images/particles/steering01.png" type="Texture" id=2]
[ext_resource path="res://scripts/shader/ship.tres" type="Shader" id=3]
[ext_resource path="res://images/ships/c01_n.png" type="Texture" id=4]
[ext_resource path="res://images/ships/c01_c.png" type="Texture" id=5]
[ext_resource path="res://images/lights/light02.png" type="Texture" id=6]

[sub_resource type="ConvexPolygonShape2D" id=1]

custom_solver_bias = 0.0
points = Vector2Array( 50, -26, 50, -40, 56, -32, 56, 30 )

[sub_resource type="ConvexPolygonShape2D" id=2]

custom_solver_bias = 0.0
points = Vector2Array( -56, -33, -50, -41, -50, -28, -56, 30 )

[sub_resource type="ConvexPolygonShape2D" id=3]

custom_solver_bias = 0.0
points = Vector2Array( 18, -72, 24, -78, 24, -58, 18, -58 )

[sub_resource type="ConvexPolygonShape2D" id=4]

custom_solver_bias = 0.0
points = Vector2Array( -24, -58, -24, -78, -18, -72, -18, -58 )

[sub_resource type="ConvexPolygonShape2D" id=5]

custom_solver_bias = 0.0
points = Vector2Array( 40, 24, 40, 76, 28, 68 )

[sub_resource type="ConvexPolygonShape2D" id=6]

custom_solver_bias = 0.0
points = Vector2Array( -28, 68, -40, 76, -40, 24 )

[sub_resource type="ConvexPolygonShape2D" id=7]

custom_solver_bias = 0.0
points = Vector2Array( 28, -62, 38, -78, 42, -78, 42, -36, 28, -52 )

[sub_resource type="ConvexPolygonShape2D" id=8]

custom_solver_bias = 0.0
points = Vector2Array( 56, 30, 50, 30, 50, 24 )

[sub_resource type="ConvexPolygonShape2D" id=9]

custom_solver_bias = 0.0
points = Vector2Array( 50, -26, 56, 30, 50, 24 )

[sub_resource type="ConvexPolygonShape2D" id=10]

custom_solver_bias = 0.0
points = Vector2Array( 50, -26, 50, 24, 40, 24, 42, -36 )

[sub_resource type="ConvexPolygonShape2D" id=11]

custom_solver_bias = 0.0
points = Vector2Array( 4, 68, 4, 74, 0, 78, -4, 74, -4, 68 )

[sub_resource type="ConvexPolygonShape2D" id=12]

custom_solver_bias = 0.0
points = Vector2Array( -50, 24, -50, 30, -56, 30 )

[sub_resource type="ConvexPolygonShape2D" id=13]

custom_solver_bias = 0.0
points = Vector2Array( -50, 24, -56, 30, -50, -28 )

[sub_resource type="ConvexPolygonShape2D" id=14]

custom_solver_bias = 0.0
points = Vector2Array( -40, 24, -50, 24, -50, -28, -42, -36 )

[sub_resource type="ConvexPolygonShape2D" id=15]

custom_solver_bias = 0.0
points = Vector2Array( -42, -36, -42, -78, -38, -78, -28, -62, -28, -52 )

[sub_resource type="ConvexPolygonShape2D" id=16]

custom_solver_bias = 0.0
points = Vector2Array( 40, 24, 28, 68, 4, 68 )

[sub_resource type="ConvexPolygonShape2D" id=17]

custom_solver_bias = 0.0
points = Vector2Array( 24, -58, 26, -58, 28, -52 )

[sub_resource type="ConvexPolygonShape2D" id=18]

custom_solver_bias = 0.0
points = Vector2Array( -28, -52, -26, -58, -24, -58 )

[sub_resource type="ConvexPolygonShape2D" id=19]

custom_solver_bias = 0.0
points = Vector2Array( 18, -58, 24, -58, 28, -52, -28, 68 )

[sub_resource type="ConvexPolygonShape2D" id=20]

custom_solver_bias = 0.0
points = Vector2Array( -28, -52, -24, -58, -18, -58, -28, 68 )

[sub_resource type="ConvexPolygonShape2D" id=21]

custom_solver_bias = 0.0
points = Vector2Array( 40, 24, 4, 68, -4, 68 )

[sub_resource type="ConvexPolygonShape2D" id=22]

custom_solver_bias = 0.0
points = Vector2Array( -16, -58, -14, -70, -8, -74, 8, -74, 14, -70, 16, -58, -28, 68 )

[sub_resource type="ConvexPolygonShape2D" id=23]

custom_solver_bias = 0.0
points = Vector2Array( 42, -36, 40, 24, -4, 68, -28, 68, 28, -52 )

[sub_resource type="ConvexPolygonShape2D" id=24]

custom_solver_bias = 0.0
points = Vector2Array( 16, -58, 18, -58, -28, 68 )

[sub_resource type="ConvexPolygonShape2D" id=25]

custom_solver_bias = 0.0
points = Vector2Array( -18, -58, -16, -58, -28, 68 )

[sub_resource type="ConvexPolygonShape2D" id=26]

custom_solver_bias = 0.0
points = Vector2Array( -42, -36, -28, -52, -28, 68, -40, 24 )

[sub_resource type="ConvexPolygonShape2D" id=27]

custom_solver_bias = 0.0
points = Vector2Array( -40, 24, -28, 68, -28, 68 )

[sub_resource type="CanvasItemMaterial" id=28]

shader/shader = ExtResource( 3 )
shader/shading_mode = 0
shader_param/normal = ExtResource( 4 )

[sub_resource type="OccluderPolygon2D" id=29]

closed = true
cull_mode = 0
polygon = Vector2Array( -8, -74, 8, -74, 14, -70, 14, -58, 18, -58, 18, -72, 24, -78, 24, -58, 28, -58, 28, -62, 38, -76, 42, -76, 42, -38, 50, -28, 50, -42, 56, -34, 56, 32, 48, 32, 48, 26, 40, 26, 42, 78, 28, 70, 16, 70, 4, 70, 4, 74, 0, 78, -4, 74, -4, 70, -28, 70, -42, 78, -42, 26, -48, 26, -48, 32, -56, 32, -56, -34, -50, -42, -50, -28, -42, -38, -42, -76, -38, -76, -28, -62, -28, -58, -24, -58, -24, -78, -18, -72, -18, -58, -14, -58, -14, -70 )

[node name="C01" type="RigidBody2D"]

input/pickable = false
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/0/trigger = false
shapes/1/shape = SubResource( 2 )
shapes/1/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/1/trigger = false
shapes/2/shape = SubResource( 3 )
shapes/2/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/2/trigger = false
shapes/3/shape = SubResource( 4 )
shapes/3/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/3/trigger = false
shapes/4/shape = SubResource( 5 )
shapes/4/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/4/trigger = false
shapes/5/shape = SubResource( 6 )
shapes/5/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/5/trigger = false
shapes/6/shape = SubResource( 7 )
shapes/6/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/6/trigger = false
shapes/7/shape = SubResource( 8 )
shapes/7/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/7/trigger = false
shapes/8/shape = SubResource( 9 )
shapes/8/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/8/trigger = false
shapes/9/shape = SubResource( 10 )
shapes/9/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/9/trigger = false
shapes/10/shape = SubResource( 11 )
shapes/10/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/10/trigger = false
shapes/11/shape = SubResource( 12 )
shapes/11/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/11/trigger = false
shapes/12/shape = SubResource( 13 )
shapes/12/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/12/trigger = false
shapes/13/shape = SubResource( 14 )
shapes/13/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/13/trigger = false
shapes/14/shape = SubResource( 15 )
shapes/14/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/14/trigger = false
shapes/15/shape = SubResource( 16 )
shapes/15/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/15/trigger = false
shapes/16/shape = SubResource( 17 )
shapes/16/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/16/trigger = false
shapes/17/shape = SubResource( 18 )
shapes/17/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/17/trigger = false
shapes/18/shape = SubResource( 19 )
shapes/18/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/18/trigger = false
shapes/19/shape = SubResource( 20 )
shapes/19/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/19/trigger = false
shapes/20/shape = SubResource( 21 )
shapes/20/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/20/trigger = false
shapes/21/shape = SubResource( 22 )
shapes/21/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/21/trigger = false
shapes/22/shape = SubResource( 23 )
shapes/22/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/22/trigger = false
shapes/23/shape = SubResource( 24 )
shapes/23/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/23/trigger = false
shapes/24/shape = SubResource( 25 )
shapes/24/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/24/trigger = false
shapes/25/shape = SubResource( 26 )
shapes/25/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/25/trigger = false
shapes/26/shape = SubResource( 27 )
shapes/26/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
shapes/26/trigger = false
collision/layers = 1
collision/mask = 1
mode = 2
mass = 4.0
friction = 1.0
bounce = 1.0
gravity_scale = 1.0
custom_integrator = true
continuous_cd = 0
contacts_reported = 0
contact_monitor = false
sleeping = false
can_sleep = true
velocity/linear = Vector2( 0, 0 )
velocity/angular = 0.0
damp_override/linear = -1.0
damp_override/angular = -1.0
__meta__ = { "__editor_plugin_screen__":"Script" }

[node name="Engine" type="Node2D" parent="."]

[node name="Thrust1" type="Sprite" parent="Engine"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( 27, 97 )
transform/scale = Vector2( 1.25, 1 )
texture = ExtResource( 1 )

[node name="Thrust2" type="Sprite" parent="Engine"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( -26, 97 )
transform/scale = Vector2( 1.25, 1 )
texture = ExtResource( 1 )

[node name="SteeringLeft" type="Node2D" parent="."]

[node name="Steering1" type="Sprite" parent="SteeringLeft"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( 52, -47 )
transform/rot = 90.0
transform/scale = Vector2( 1, 0.75 )
texture = ExtResource( 2 )

[node name="Steering2" type="Sprite" parent="SteeringLeft"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( 53, 42 )
transform/scale = Vector2( 1, 0.75 )
texture = ExtResource( 2 )

[node name="Steering3" type="Sprite" parent="SteeringLeft"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( -50, 53 )
transform/rot = -90.0
transform/scale = Vector2( 1, 0.75 )
texture = ExtResource( 2 )

[node name="SteeringRight" type="Node2D" parent="."]

[node name="Steering1" type="Sprite" parent="SteeringRight"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( -52, -47 )
transform/rot = -90.0
transform/scale = Vector2( 1, 0.75 )
texture = ExtResource( 2 )

[node name="Steering2" type="Sprite" parent="SteeringRight"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( -53, 42 )
transform/scale = Vector2( 1, 0.75 )
texture = ExtResource( 2 )

[node name="Steering3" type="Sprite" parent="SteeringRight"]

visibility/blend_mode = 1
visibility/light_mask = 0
transform/pos = Vector2( 50, 53 )
transform/rot = 90.0
transform/scale = Vector2( 1, 0.75 )
texture = ExtResource( 2 )

[node name="Sprite" type="Sprite" parent="."]

material/material = SubResource( 28 )
transform/scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 5 )

[node name="LightFront1" type="Light2D" parent="."]

transform/pos = Vector2( -46, -490 )
transform/rot = -88.0
transform/scale = Vector2( 3.5, 2 )
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="LightFront2" type="Light2D" parent="."]

transform/pos = Vector2( 46, -490 )
transform/rot = -92.0
transform/scale = Vector2( 3.5, 2 )
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="LightRight" type="Light2D" parent="."]

transform/pos = Vector2( 114, -262 )
transform/rot = -110.0
transform/scale = Vector2( 2, 2 )
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="LightLeft" type="Light2D" parent="."]

transform/pos = Vector2( -114, -262 )
transform/rot = -75.0
transform/scale = Vector2( 2, 2 )
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="LightBack1" type="Light2D" parent="."]

transform/pos = Vector2( -190, 124 )
transform/rot = 30.0
transform/scale = Vector2( 1.5, 3 )
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="LightBack2" type="Light2D" parent="."]

transform/pos = Vector2( 190, 124 )
transform/rot = 150.0
transform/scale = Vector2( 1.5, 3 )
enabled = true
texture = ExtResource( 6 )
offset = Vector2( 0, 0 )
scale = 1.0
color = Color( 1, 1, 1, 1 )
energy = 1.0
mode = 0
range/height = 0.0
range/z_min = -1024
range/z_max = 1024
range/layer_min = 0
range/layer_max = 0
range/item_mask = 1
shadow/enabled = false
shadow/color = Color( 0, 0, 0, 0 )
shadow/buffer_size = 2048
shadow/esm_multiplier = 80.0
shadow/item_mask = 1

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]

visibility/visible = false
build_mode = 0
polygon = Vector2Array( -8, -74, 8, -74, 14, -70, 16, -58, 18, -58, 18, -72, 24, -78, 24, -58, 26, -58, 28, -52, 28, -62, 38, -78, 42, -78, 42, -36, 50, -26, 50, -40, 56, -32, 56, 30, 50, 30, 50, 24, 40, 24, 40, 76, 28, 68, 4, 68, 4, 74, 0, 78, -4, 74, -4, 68, -28, 68, -28, 68, -40, 76, -40, 24, -50, 24, -50, 30, -56, 30, -56, -33, -50, -41, -50, -28, -42, -36, -42, -78, -38, -78, -28, -62, -28, -52, -26, -58, -24, -58, -24, -78, -18, -72, -18, -58, -16, -58, -14, -70 )
shape_range = Vector2( 0, 26 )
trigger = false

[node name="LightOccluder2D" type="LightOccluder2D" parent="."]

visibility/visible = false
visibility/light_mask = 2
occluder = SubResource( 29 )
light_mask = 2

[node name="Weapon1" type="Position2D" parent="."]

transform/pos = Vector2( -21, -72 )

[node name="Weapon2" type="Position2D" parent="."]

transform/pos = Vector2( 21, -72 )

[node name="Reactor1" type="Position2D" parent="."]

transform/pos = Vector2( -12, -4 )

[node name="Reactor2" type="Position2D" parent="."]

transform/pos = Vector2( 12, -4 )

[node name="Engine1" type="Position2D" parent="."]

transform/pos = Vector2( -26, 58 )

[node name="Engine2" type="Position2D" parent="."]

transform/pos = Vector2( 26, 56 )

[node name="External1" type="Position2D" parent="."]

transform/pos = Vector2( -36, -44 )

[node name="External2" type="Position2D" parent="."]

transform/pos = Vector2( 36, -44 )

[node name="External3" type="Position2D" parent="."]

transform/pos = Vector2( 0, 66 )

[node name="Internal1" type="Position2D" parent="."]

transform/pos = Vector2( -12, -43 )

[node name="Internal2" type="Position2D" parent="."]

transform/pos = Vector2( 12, -43 )

[node name="Internal3" type="Position2D" parent="."]

transform/pos = Vector2( 0, 22 )

[node name="Turret1" type="Position2D" parent="."]

transform/pos = Vector2( -40, 8 )

[node name="Turret2" type="Position2D" parent="."]

transform/pos = Vector2( 40, 8 )

[node name="Missile1" type="Position2D" parent="."]

transform/pos = Vector2( -51, -40 )

[node name="Missile2" type="Position2D" parent="."]

transform/pos = Vector2( -34, -74 )

[node name="Missile3" type="Position2D" parent="."]

transform/pos = Vector2( 34, -74 )

[node name="Missile4" type="Position2D" parent="."]

transform/pos = Vector2( 51, -40 )

[node name="GrapplingHook1" type="Position2D" parent="."]

transform/pos = Vector2( 0, -28 )

[node name="GrapplingHook2" type="Position2D" parent="."]

transform/pos = Vector2( 0, 44 )

[node name="GrapplingHook3" type="Position2D" parent="."]

transform/pos = Vector2( -46, -8 )

[node name="GrapplingHook4" type="Position2D" parent="."]

transform/pos = Vector2( 46, -8 )


